Objects Reference

bsp_object::draw

Prototype

virtual void draw()

Parameters

None

Return Value

None

Remarks

This virtual function is used for drawing the object and derived classes should implement it when needed. 

Its default behavior is to call the get_mesh function and if a mesh is returned it calls the mesh draw function. So, if neither this function nor get_mesh is implemented the object will not be drawn.